body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.hero {
    height: 850px;
    color: #fff;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.hero .hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    display: inline-block;
    border-radius: 8px;
    max-width: 90%;
}

.hero h1 {
    margin: 0;
    font-size: 2.5rem;
}

.hero h3 {
    margin: 1rem 0;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .button {
    background: #007BFF;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    margin-right: 1rem;
    border-radius: 4px;
}

.hero-buttons .button:hover {
    background: #0056b3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    padding: 2rem 0;
}

article {
    margin-bottom: 2rem;
}

footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

footer .footer-content {
    text-align: center;
    width: 100%;
}

footer .social-media {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

footer .social-media li {
    margin: 0 0.5rem;
}

footer .social-media li a {
    color: #fff;
    text-decoration: none;
}

footer .social-media li a:hover {
    text-decoration: underline;
}

/* Styles for Secondary Pages */
.banner-yes, .banner-no, .banner-resources, .banner-whats-next, .banner-should-know {
    height: 700px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-yes {
    background: url('banners/banner_its_not_too_late.jpg') no-repeat center center/cover;
}

.banner-no {
    background: url('banners/banner_man_holding_bible.jpg') no-repeat center center/cover;
}

.banner-resources {
    background: url('banners/banner_important_resources.jpg') no-repeat center center/cover;
}

.banner-whats-next {
    background: url('banners/banner_whats_next.jpg') no-repeat center center/cover;
}   

.banner-should-know {
    background: url('banners/banner_what_believers_should_know.jpg') no-repeat center center/cover;
}   

.banner-yes h1, .banner-no h1, .banner-resources h1, .banner-whats-next h1, .banner-should-know h1 {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 8px;
}

/* Styles for Secondary Page Tiles */
.tile-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem; /* Add some bottom margin to separate rows */
}

.tile {
    flex: 0 0 48%;
    margin-bottom: 2rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #333;
    height: 300px; /* Changed from 260px to 300px */
}

.tile.full-width {
    flex: 0 0 100%;
    height: 500px;
    margin-bottom: 2rem;
    position: relative;
}

.tile.full-width .tile-image {
    display: flex;
    align-items: flex-end; /* Change from center to flex-end */
    justify-content: center;
    padding-bottom: 5%; /* Reduced from 10% to 5% */
}

.tile-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.tile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 1; /* Change this from 2 to 1 */
}

.tile:hover .tile-image::after {
    background: rgba(0, 0, 0, 0);
}

.tile-content {
    padding: 1rem;
    color: #fff;
    text-align: left;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tile-content p {
    margin: 0 0 1rem;
}

.tile .button {
    background: #007BFF;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: auto;
}

.tile .button:hover {
    background: #0056b3;
}

.button {
    background: #007BFF;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
}

.button:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero h3 {
        font-size: 1.2rem;
    }
    .hero-buttons .button {
        padding: 0.5rem 1rem;
    }
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-content {
        text-align: left;
    }
    .tile {
        flex: 0 0 100%;
    }
}

.title-emergency-message {
    background-color: red;
    text-align: center;
    padding: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.title-heading-emergency-message {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.responsive-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-collapse: collapse;
}

.table-row {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.table-row.header {
    background-color: #f2f2f2;
    font-weight: bold;
}

.table-cell {
    flex: 1;
    padding: 10px;
    word-wrap: break-word;
}

.table-cell:nth-child(1) {
    flex: 0 0 10%;
}

.table-cell:nth-child(2) {
    flex: 0 0 50%;
}

.table-cell:nth-child(3) {
    flex: 0 0 10%;
}

.table-cell:nth-child(4) {
    flex: 0 0 30%;
}

@media (max-width: 768px) {
    .table-row {
        flex-direction: column;
    }
    .table-cell {
        flex: 1;
        padding: 5px 0;
    }
    .table-cell:nth-child(1),
    .table-cell:nth-child(2),
    .table-cell:nth-child(3),
    .table-cell:nth-child(4) {
        flex: 1;
    }
}

.blog-banner {
    height: 700px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.blog-banner h1 {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 8px;
    margin: 0;
}

/* ... rest of the existing styles ... */

.button-container {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 5%;
    position: relative;
    z-index: 10; /* Add this line */
}

.download-button {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer; /* Add this line */
    display: inline-block; /* Add this line */
    position: relative; /* Add this line */
    z-index: 11; /* Add this line */
}

.download-button:hover {
    background-color: #0056b3;
}

.tile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 1; /* Change this from 2 to 1 */
}